package com.smz.service;


import com.smz.entity.User;

import java.util.List;

public interface UserService {


    User selectUserByName(String username);

    List<User> selectAllUsers();


    void addUser(User user);

    void updateUser(User user);

    void deleteUser(Integer id);

    User findById(Integer id);
}
